﻿using System;

namespace Renci.iRods.Common
{
    [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
    internal class PacketAttribute : Attribute
    {
        /// <summary>
        /// Gets the name.
        /// </summary>
        public string Name { get; private set; }

        public PacketAttribute(string name)
        {
            this.Name = name;
        }
    }
}
